<?php
/*
 * Created on Feb 10, 2008
 *
 * This is an open source software, please obey the GPL
 * The Referee Service is offered by Cacomand Inc. 
 * View Http://www.cacomand.com for support or more information
 * You can also view distrema.googlecode.com to join the community.
 * THIS cfp WRITE A COOKIE:last_viewed_route
 * 在页面中调用rts这个route类的实例即可
 */
 include("../lib/lib_travel_agency.php");
  
 if(isset($_GET["route_full_name"]))
 {
 	$rts=new route($_GET["route_full_name"]);
 	travel_agency::focus_route($rts);
 	if($developer)
 		echo("从GET中载入,当前焦点路线是:".$rts->route_name."<br />");
 }
 elseif(isset($_POST["route_name"]))
 {
 	$rts=new route($agency_name.".".$_POST["route_name"]);
 	travel_agency::focus_route($rts);
 	if($developer)
 		echo("从POST中载入,当前焦点路线是:".$rts->route_name."<br />");
 }
 elseif($rts=travel_agency::get_focused_route())
 {
 	if($developer)
 		echo("从cookies中载入,当前焦点路线是:".$rts->route_name."<br />");
 }
 else
 	echo("非正常访问!");
 //$rts can be used
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<title><?php echo($rts->route_name);?>线路详情</title>
<link href="style.css" rel="stylesheet" type="text/css" />
</head>

<body>

<div class="wrap">
<div id="top">
  <div style="padding-left:27px; padding-top:37px"><a href="index.php"><img alt=""  src="images/logo.jpg" width="261" height="53" border="0" /></a></div>
  <div style="padding-left:92px; padding-top:45px"><a href="routes.html"><img alt=""  src="images/h1.jpg" width="51" height="16" border="0" style="margin-right:82px " /></a><a href="view_trips.php"><img alt=""  src="images/h2.jpg" width="51" height="16" border="0" style="margin-right:92px " /></a><a href="pay_for_trips.php"><img alt=""  src="images/h3.jpg" width="51" height="16" border="0" style="margin-right:87px " /></a><a href="../user_login.php" target="blank"><img alt=""  src="images/h4.jpg" width="51" height="16" border="0" style="margin-right:83px " /></a><a href="contact.html"><img alt=""  src="images/h5.jpg" width="51" height="16" border="0" /></a></div>
  </div>
<div id="content">
<!--*********************************************************************************-->
<div style="padding-left:30px; padding-top:10px">
  <div class="title" style="width:642px "><img  src="images/latecs_3.jpg" alt="" width="139" height="16" style="margin-left:12px " /></div>
</div>
<div style="padding-left:42px; padding-top:23px; padding-right:40px">
<strong>
<?php echo($rts->route_name); ?>
</strong><br />
    <br style="line-height:7px " />
    <?php echo($rts->route_memo);?>
<br style="line-height:15px " />
<br />
<strong>具体行程：</strong><br />
    <br style="line-height:7px " />
    <?php echo($rts->route_arrange);?>
<br style="line-height:15px " />
<br />
<strong>费用说明：</strong><br />
    <br style="line-height:7px " />
    <?php echo($rts->route_fee);?>
<br style="line-height:15px " />
<br />
<a href="apply.php">网上报名(￥<?php echo($rts->route_special_price);?>)</a><br />
<a href="contact.html">电话报名(￥<?php echo($rts->route_original_price)?>)</a><br />
</div>
<span class="link_green_light"><a href="#">
<!--*********************************************************************************-->
</a></span></div>

<div id="footer" class="clear">
<div align="right" class="text1" style="padding-right:28px; padding-top:42px "><a href="index.php" class="text1"><strong>主页</strong></a>&nbsp;&nbsp;&nbsp;&nbsp;<span class="text_green">|</span>&nbsp;&nbsp;&nbsp;&nbsp;<a href="routes.html" class="text1"><strong>浏览所有线路</strong></a>&nbsp;&nbsp;&nbsp;&nbsp;<span class="text_green">|</span>&nbsp;&nbsp;&nbsp;&nbsp;<a href="view_trips.php" class="text1"><strong>我的行程</strong></a>&nbsp;&nbsp;&nbsp;&nbsp;<span class="text_green">|</span>&nbsp;&nbsp;&nbsp;&nbsp;<a href="pay_for_trips.php" class="text1"><strong>在线付款</strong></a>&nbsp;&nbsp;&nbsp;&nbsp;<span class="text_green">|</span>&nbsp;&nbsp;&nbsp;&nbsp;<a href="../user_login.php" target="blank" class="text1"><strong>用户管理</strong></a>&nbsp;&nbsp;&nbsp;&nbsp;<span class="text_green">|</span>&nbsp;&nbsp;&nbsp;&nbsp;<a href="contact.html" class="text1"><strong>联系我们</strong></a><br />
<br style="line-height:5px " />
Copyright &copy; Cacomand Inc., 2008&nbsp;&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;&nbsp;<a href="DistRema.html" class="text_orange">Visit Cacomand</a></div>
</div>
</div>
</body>
</html>
